const Router = require('koa-router')
const image = new Router()
//！拿到前端的数据
//数据库连接池
const pg = require('pg');
let psql = new pg.Pool({
  database: 'running',
  user: 'run',
  port: 5432,
  host: '82.157.94.115',
  password: 'z12345678',
  max: 2
})

image.post('/image', async ctx => {
    ctx.body = {
       msg:'上传成功'
    };
  }


)

module.exports = image